package com.zhuojy.equity.mall.admin.manager;

import com.zhuojy.equity.mall.admin.dal.dataobject.TUserDO;
import com.zhuojy.equity.mall.admin.dal.mapper.DemoMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@RequiredArgsConstructor
public class DemoManager {
    private final DemoMapper demoMapper;


    public void findAll() {
        List<TUserDO> all = demoMapper.findAll();
        all.forEach(System.out::println);
    }
}
